#pragma once
#include "Map.h"
#include "WormAction.h"
#include "Team.h"

// Inteface to getting information aboute the game.
class ReadGameData
{
public:

	// Return action that that was made on the current turn.
	virtual WormAction getAction();

	// Return actual(last) map.
	virtual Map getMap();

	// Return turns passed since game begin.
	virtual int getTurns();

	// Return number of teams that playing in this game.
	virtual int getNumberOfTeams();

	// teamIndex index of team that you want know name.
	// Return name of the team
	virtual String getTeamName(int teamIndex);

	// Return Vector of worms in the team.
	virtual Vector<Worm> getWormsForTeam(int teamIndex);

	// Return Worm from team.
	virtual Worm getWorm(int teamIndex, int wormIndex);

	// Return all informantio about team.
	virtual Team getTeam(int teamIndex);
	 
	virtual ~ReadGameData(void);
};

